package com.zsummer.demo.design.pattern.behavioral.abstractfactory;

/**
 * @author zsummer
 * @since 2022/3/16
 */
public class FactoryB extends Factory{
    @Override
    Product1 createProduct1() {
        return new Product1B();
    }

    @Override
    Product2 createProduct2() {
        return new Product2B();
    }
}
